const constantRoutes = [
  {
    path: "/logon",
    meta: {
      title: "登录",
    },
    component: () => import("@/views/logon"),
  },
  {
    path: "/",
    name: "Home",
    meta: {
      roles: ["admin", "editor", "test"],
      title: "主页",
      icon: "home",
      keepAlive: true,
    },
    component: () => import("@/views/home"),
  },
  // {
  //   path: '/NoFound404',
  //   name: 'NoFound404',
  //   meta: {
  //     title: '404',
  //     icon: 'sentiment_dissatisfied',
  //     isHidden: true
  //   },
  //   component: () => import('@/components/404/NoFound404')
  // }
];

export default constantRoutes;
